<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
	    <title>首页</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
			
		<!-- basic styles -->		
		<link rel="stylesheet" type="text/css" href="css/assets/css/ace.min.css" />
		<link rel="stylesheet" type="text/css" href="css/assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" type="text/css" href="css/assets/css/ace-skins.min.css" />
		<link rel="stylesheet" type="text/css" href="css/assets/css/bootstrap-editable.css" />
		<link rel="stylesheet" type="text/css" href="css/assets/main.css">
		<script type="text/javascript" src="jquery/jquery-1.8.3.min.js" ></script>
	
		<!--[if IE 7]>
		<link rel="stylesheet" href="css/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
			
		<!--[if lte IE 8]>
		<link rel="stylesheet" href="css/assets/css/ace-ie.min.css" />
		<![endif]-->
	
		<!-- ace settings handler -->
		<script src="css/assets/js/ace-extra.min.js"></script>
	
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="css/assets/js/html5shiv.js"></script>
		<script src="css/assets/js/respond.min.js"></script>
		<![endif]-->
		
		<script type="text/javascript">
			var sessionInfo_userId = '${sessionInfo.id}';
			if (sessionInfo_userId) {//如果没有登录,直接跳转到登录页面
			}else{
				window.location.href='user/session';
			}
		</script>
		
		<script type="text/javascript">
            //隐藏遮罩层
            function cfgetTopBackgroundElement(){
                return document.children[0].children[1].children[2].children[0].children[0].children[0].contentDocument.body.children[0];
            }
            //兼容火狐、IE8
            var cfmaskStatus=false;
            //显示遮罩层
            function showCFlowerMask(){
				/* alert($); */
                $("#cflowermask").height($(window).height());
                $("#cflowermask").width($(window).width());
                $("#cflowermask").show();
                $("#ppgif").show();
                cfmaskStatus=true;
                setTimeout("hideCFlowerMask()",5000);
            }

            //隐藏遮罩层
            function hideCFlowerMask(){
                $("#cflowermask").hide();
                $("#ppgif").hide();
                cfmaskStatus=false;
            }

            $(".cflowermask").scroll(function() {
                showCFlowerMask();
            });
            $(function(){
                $('#table').height($(window).height());
                $('#table').width($(window).width());
                if(cfmaskStatus==true) showCFlowerMask();
            });
		</script>
		<style type="text/css">
			.cflowermask {       					/* 遮罩的CSS */
				position: absolute; top: 0px; filter: alpha(opacity=60); background-color: black;
				z-index: 1002; left: 0px;
				opacity:0.5; -moz-opacity:0.5;
			}
			#ppgif{
				z-index: 1090;
				filter: alpha(opacity=100);
				opacity:1; -moz-opacity:1;
			}
		</style>

	</head>
  
	<body style="margin:0px;padding:0px;">
	<div id="ppgif" style="width:500px;height:80px;position:absolute;top:40%;left:20%;display:none;">
		　　					<img src="img/pp.gif" />
		<p style="font-size: 50px;color: white;top: 20%;left: 75%;width: 400px;text-align:right;position: absolute;">等等嘛等等嘛……</p>
	</div>
	<div id="cflowermask" class="cflowermask"></div>   				<!-- 加载中的遮罩 -->
		<div class="table" style="margin-bottom:0px;padding:0px;height:100%;overflow:hidden" align="center">
			<div class="trTop" style="height: 60px ;position: absolute;width: 100%">
				<div class="tdTop" style="height: 60px ;">
					<iframe id="topJsp" frameborder="0" src="mintor/container/top.jsp" name="top" style="height: 100%"></iframe>
				</div>
			</div>
			<div style="overflow:hidden;">
				<iframe frameborder="0" style="height: 100%" src="mintor/container/body.jsp" name="body" scrolling="no"></iframe>
			</div>		
		</div>
	</body>
</html>
